package com.demo.service;

import com.demo.entity.OfferPriceLog;

/**
 * Created by byte2 on 2017-04-23.
 */
public interface IOfferPriceLogService {
    int deleteByPrimaryKey(Integer id);

    int insert(OfferPriceLog record);

    int insertSelective(OfferPriceLog record);

    /***
     * 报价更新日志记录
     * @param userId
     * @param price
     * @param offerId
     * @return
     */
    int insertLog(String userId, Double price, String offerId);

    OfferPriceLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OfferPriceLog record);

    int updateByPrimaryKey(OfferPriceLog record);
}
